﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Entity
{
    /// <summary>
    /// 读码表实体
    /// </summary>
    [SugarTable("WCS_READ_TRAYCODE")]
    public class WcsReadTrayCode
    {
        /// <summary>
        /// plc编码
        /// </summary>
        public string Dev_Code { get; set; }

        /// <summary>
        /// plc站台
        /// </summary>
        public string Station_Plc_No { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        public string TrayBar_Code { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public int Enable { get; set; }

        /// <summary>
        /// 是否执行
        /// </summary>
        public int Implement { get; set; }

        /// <summary>
        /// 读取偏移量
        /// </summary>
        public int Read_Offset { get; set; }

        /// <summary>
        /// 读取地址
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string ReadAddress { get; set; }

        /// <summary>
        /// 读取长度
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public UInt16 Read_Length { get; set; }

    }
}
